package com.rz.htk.order.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rz.core.common.model.PageEntity;

import java.time.LocalDateTime;
import java.util.List;
@TableName(value = "ord_customs_clearance")
public class CustomsClearance extends PageEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String commodity_code;
    private String code; //出关编号
    private String flight;//运输工具航次(班)号
    private String mark; //进/出口标志
    private String trade_nationality;//贸易国别（起/抵运地）
    private String port_code;//进出口岸代码
    private String transportation_code;//运输方式代码
    private String transportation_name;//运输工具名称
    private String quantity;//总数量
    private String weight;//总重量
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime Declare_date;//申报日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime date;//进/出口日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime creation_time;
    private Integer crteAdminId;
    /** 状态 */
    private int delFlag;


        @TableField(exist = false)
    private List<Integer> roleIds;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public String getCommodity_code() {
        return commodity_code;
    }

    public void setCommodity_code(String commodity_code) {
        this.commodity_code = commodity_code;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getFlight() {
        return flight;
    }

    public void setFlight(String flight) {
        this.flight = flight;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getTrade_nationality() {
        return trade_nationality;
    }

    public void setTrade_nationality(String trade_nationality) {
        this.trade_nationality = trade_nationality;
    }

    public String getPort_code() {
        return port_code;
    }

    public void setPort_code(String port_code) {
        this.port_code = port_code;
    }

    public String getTransportation_code() {
        return transportation_code;
    }

    public void setTransportation_code(String transportation_code) {
        this.transportation_code = transportation_code;
    }

    public String getTransportation_name() {
        return transportation_name;
    }

    public void setTransportation_name(String transportation_name) {
        this.transportation_name = transportation_name;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public LocalDateTime getDeclare_date() {
        return Declare_date;
    }

    public void setDeclare_date(LocalDateTime declare_date) {
        Declare_date = declare_date;
    }

    public LocalDateTime getDate() {
        return date;
    }

    public void setDate(LocalDateTime date) {
        this.date = date;
    }

    public LocalDateTime getCreation_time() {
        return creation_time;
    }

    public void setCreation_time(LocalDateTime creation_time) {
        this.creation_time = creation_time;
    }

    public Integer getCrteAdminId() {
        return crteAdminId;
    }

    public void setCrteAdminId(Integer crteAdminId) {
        this.crteAdminId = crteAdminId;
    }

    public List<Integer> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Integer> roleIds) {
        this.roleIds = roleIds;
    }
}
